package cn.micai.base.string;

/**
 * 描述：反转字符串的Java程序
 * <p> Using ReverseStringRecursive
 *
 * @author: 赵新国
 * @date: 2018/6/11 11:28
 */
public class ReverseStringStringBuffer {

    public static void main(String [] args) {

        String blogName = "java2blog";
        StringBuffer sb = new StringBuffer(blogName);
        System.out.println("Reverse of java2blog is: " + sb.reverse());

    }


}
